package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author darkal
 * @since 2018-07-29
 */
@TableName("con_orgnazation")
public class Orgnazation extends Model<Orgnazation> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 单位名称
     */
    private String name;
    /**
     * 合作类别
     */
    private String type;
    /**
     * logo
     */
    private String logo;
    /**
     * 链接
     */
    private String link;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Orgnazation{" +
        "id=" + id +
        ", name=" + name +
        ", type=" + type +
        ", logo=" + logo +
        ", link=" + link +
        "}";
    }
}
